public class Test {
    public static void main(String[] args) {
//        String s1=new String("hello");
//        String s2=new String("hello");
//        System.out.println(s1 == s2);   //false
//        System.out.println(s1.equals(s2));  //true

        int a=5;
        double b=5.0;
        System.out.println(a == b);//true


    }
}
